package transitarios.entidades.cargas;

public class Toxica extends Carga {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public Toxica() {
		super();
	}

	public Toxica(Carga c) {
		super(c.getNifCliente(), c.getPeso(), false, true);
	}

	public Toxica(int nifCliente, double peso) {
		super(nifCliente, peso, false, true);
	}

	@Override
	public Toxica clone() {
		return new Toxica(this);
	}

	@Override
	public boolean equals(Object obj) {
		return super.equals(obj);
	}

	@Override
	public String toString() {
		StringBuilder s = new StringBuilder("\n======Carga-Toxica======");
		s.append(super.toString());
		return s.toString();
	}
}
